home *** CD-ROM | disk | FTP | other *** search
- SPR(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSSSPPRR, DDSSPPRR - Performs symmetric rank 1 update of a real or complex
- symmetric packed matrix
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSSSPPRR ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _a_p))
-
- Double precision
-
- CCAALLLL DDSSPPRR ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _a_p))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- These routines perform the following symmetric rank 1 operation:
- _T
- _A <- _a_l_p_h_a _x_x + _A
- _T
- where _x is the transpose of _x, _a_l_p_h_a is a real or complex scalar, _x
- is an _n-element vector, and _A is an _n-by-_n symmetric packed matrix.
-
- These routines have the following arguments:
-
- _u_p_l_o Character*1. (input)
- Specifies whether the upper or lower triangular part of
- matrix _A is packed into the array argument _a_p, as follows:
-
- _u_p_l_o= 'U' or 'u': the upper triangular part of _A is being
- supplied in the argument _a_p.
- _u_p_l_o= 'L' or 'l': the lower triangular part of _A is being
- supplied in the argument _a_p.
-
- _n Integer. (input)
- Specifies the order of matrix _A. _n >= 0.
-
- _a_l_p_h_a Scalar alpha. (input)
- SSSSPPRR: Real.
- DDSSPPRR: Double precision.
-
- _x Array of dimension 1+(_n-1) * |_i_n_c_x|. (input)
- SSSSPPRR: Real array.
- DDSSPPRR: Double precision array.
- Contains vector _x.
-
- _i_n_c_x Integer. (input)
- Specifies the increment for the elements of _x. _i_n_c_x must
- not be 0.
-
- _a_p Array of dimension (_n(_n+1))/2 . (input and output)
- SSSSPPRR: Real array.
- DDSSPPRR: Double precision array.
-
- Before entry with _u_p_l_o = 'U' or 'u', array _a_p must contain
- the upper triangular part of the symmetric matrix packed
- sequentially, column-by-column, so that _a_p(1) contains
- _A(1,1), _a_p(2) contains _A(1,2), _a_p(3) contains _A(2,2), and so
- on. On exit, the upper triangular part of the updated
- matrix overwrites array _a_p.
-
- Before entry with _u_p_l_o = 'L' or 'l', array _a_p must contain
- the lower triangular part of the symmetric matrix packed
- sequentially, column-by-column, so that _a_p(1) contains
- _A(1,1), _a_p(2) contains _A(2,1), _a_p(3) contains _A(3,1), and so
- on. On exit, the lower triangular part of the updated
- matrix overwrites array _a_p.
-
- NNOOTTEESS
- SSSSPPRR/DDSSPPRR is a Level 2 Basic Linear Algebra Subprogram (Level 2 BLAS).
-
- When working backward (_i_n_c_x < 0), each routine starts at the end of
- the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)), ..., _x(1)
-
- SSEEEE AALLSSOO
- HHPPRR(3F)
-
- This man page is available only online.
-